package com.wanxi.service;

import com.wanxi.dao.LawyerDao;
import com.wanxi.model.LawyerModel;

import java.util.List;

/**
 * @author Li
 * @Date 2023/4/27 16:11
 */
public class LawyerService {

    public List<LawyerModel> getIndexLawyer() {
        LawyerDao lawyerDao =new LawyerDao();
        return lawyerDao.getIndexLawyer();
    }

    /**
     * 获得专业律师页面的所有律师
     * @return
     */
    public List<LawyerModel> getLawyers() {
        LawyerDao lawyerDao =new LawyerDao();
        return lawyerDao.getLawyers();
    }

    public List<LawyerModel> getLawyers1() {
        LawyerDao lawyerDao =new LawyerDao();
        return lawyerDao.getLawyers1();
    }
}
